package com.tiancai.service;

import com.tiancai.pojo.po.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tiancai
 * @since 2025-03-11
 */
public interface ICommentService extends IService<Comment> {

    Comment addNewComment(Long workId, String content, Long commentId);

    void like(Long commentId);

    List<Comment> getCommentByCommentId(Long commentId);

    Integer removeAll(Long commentId);
}
